package com.qf.purchasing.service;


import com.github.pagehelper.PageInfo;
import com.qf.common.base.result.RespResult;
import com.qf.purchasing.qo.DetailQO;
import com.qf.purchasing.vo.DetailVO;

public interface DetailService {

    // 根据计划表id分页查询采购明细
    PageInfo<DetailVO> query(int page, int size, int sid);

    //添加采购明细记录
    RespResult<String> addDetailService(DetailQO detailQO);

    //删除多个采购明细记录
    RespResult<String> deleteDetailByIds(int[] ids);

    //修改采购明细记录
    RespResult<String> modify(DetailQO detailQO);

    //根据 id 查询采购明细
    RespResult<DetailVO> selectDetailById(int detailId);

}
